import { BatchOperateInvtDialog, BatchInvtService } from './view/batchOperateInvt';
import { TableService } from './../../service/table.service';
import { TableOperateDialog, TableOperateService } from './view/tableOperate';
import { TableOrderDialog, TableOrderService } from './view/tableDetailOrder';
import { RemindOrderDialog, RemindOrderService } from './view/remindOrder';
import { InvtAmountDialog, InvtAmountService } from './view/invtAmount';
import { TableDetailComponent } from './tableDetail.component';
import { SharedModule } from './../../shared.module';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

@NgModule({
    imports: [
        SharedModule
    ],
    declarations: [
        TableDetailComponent,
        InvtAmountDialog,
        RemindOrderDialog,
        TableOrderDialog,
        TableOperateDialog,
        BatchOperateInvtDialog
    ],
    providers: [
        InvtAmountService,
        RemindOrderService,
        TableOrderService,
        TableOperateService,
        TableService,
        BatchInvtService
    ],
    entryComponents: [
        TableOrderDialog,
        TableOperateDialog,
        RemindOrderDialog,
        InvtAmountDialog,
        BatchOperateInvtDialog
    ],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class TableDetailModule { }